package com.ch08e;

public class LocalClassClient {
	public static void main(String[] args) {
		IDrawable[] drawables = { // (10)
		new Painter().createCircle(5), // (11) Object of non-static local class
				Painter.createMap(), // (12) Object of static local class
				new Painter().createMap() // (13) Object of static local class
		};
		for (int i = 0; i < drawables.length; i++)
			// (14)
			drawables[i].draw();
		System.out.println("Local Class Names:");
		System.out.println(drawables[0].getClass()); // (15)
		System.out.println(drawables[1].getClass()); // (16)
	}
}
